package com.gqj.elec.mapper;

import java.util.List;
import com.gqj.elec.domain.ElecMaterialOutdetail;

/**
 * 物资出库详情Mapper接口
 * 
 * @author lxq
 * @date 2023-12-17
 */
public interface ElecMaterialOutdetailMapper 
{
    /**
     * 查询物资出库详情
     * 
     * @param outdetailId 物资出库详情主键
     * @return 物资出库详情
     */
    public ElecMaterialOutdetail selectElecMaterialOutdetailByOutdetailId(Long outdetailId);

    /**
     * 查询物资出库详情列表
     * 
     * @param elecMaterialOutdetail 物资出库详情
     * @return 物资出库详情集合
     */
    public List<ElecMaterialOutdetail> selectElecMaterialOutdetailList(ElecMaterialOutdetail elecMaterialOutdetail);

    /**
     * 新增物资出库详情
     * 
     * @param elecMaterialOutdetail 物资出库详情
     * @return 结果
     */
    public int insertElecMaterialOutdetail(ElecMaterialOutdetail elecMaterialOutdetail);

    /**
     * 修改物资出库详情
     * 
     * @param elecMaterialOutdetail 物资出库详情
     * @return 结果
     */
    public int updateElecMaterialOutdetail(ElecMaterialOutdetail elecMaterialOutdetail);

    /**
     * 删除物资出库详情
     * 
     * @param outdetailId 物资出库详情主键
     * @return 结果
     */
    public int deleteElecMaterialOutdetailByOutdetailId(Long outdetailId);

    /**
     * 批量删除物资出库详情
     * 
     * @param outdetailIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteElecMaterialOutdetailByOutdetailIds(Long[] outdetailIds);

    /**
     * 删除物资出库详情
     *
     * @param outId 物资出库详情主键
     * @return 结果
     */
    public int deleteElecMaterialOutdetailByoutId(Long outId);
}
